home *** CD-ROM | disk | FTP | other *** search
- // Copyright (C) 1997-2002 Alias|Wavefront,
- // a division of Silicon Graphics Limited.
- //
- // The information in this file is provided for the exclusive use of the
- // licensees of Alias|Wavefront. Such users have the right to use, modify,
- // and incorporate this code into other products for purposes authorized
- // by the Alias|Wavefront license agreement, without fee.
- //
- // ALIAS|WAVEFRONT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
- // INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
- // EVENT SHALL ALIAS|WAVEFRONT BE LIABLE FOR ANY SPECIAL, INDIRECT OR
- // CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
- // DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
- // TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
- // PERFORMANCE OF THIS SOFTWARE.
- //
- //
- // Alias|Wavefront Script File
- // MODIFY THIS AT YOUR OWN RISK
- //
- // Creation Date: 08 January 2002
- //
- // Description:
- // Define the General shelf.
- //
-
- global proc shelf_General() {
-
- shelfButton
- -label "Learning Movies"
- -image1 "LearningMovies.xpm"
- -command ("mayaLearningMoviesPage");
-
- shelfButton
- -label "English Help"
- -image1 "menuIconHelp.xpm"
- -command ("checkHelpPrefs \"en_US\"");
-
- shelfButton
- -label "Japanese Help"
- -image1 "jpHelpIcon.xpm"
- -command ("checkHelpPrefs \"ja_JP\"");
-
- shelfButton
- -label "Tumble Tool"
- -annotation (getRunTimeCommandAnnotation("TumbleTool"))
- -image1 "tumble.xpm"
- -command ("TumbleTool")
- -doubleClickCommand ("ToolSettingsWindow");
-
- shelfButton
- -label "Track Tool"
- -annotation (getRunTimeCommandAnnotation("TrackTool"))
- -image1 "track.xpm"
- -command ("TrackTool")
- -doubleClickCommand ("ToolSettingsWindow");
-
- shelfButton
- -label "Dolly Tool"
- -annotation (getRunTimeCommandAnnotation("DollyTool"))
- -image1 "dolly.xpm"
- -command ("DollyTool")
- -doubleClickCommand ("ToolSettingsWindow");
-
- shelfButton
- -label "Zoom Tool"
- -annotation (getRunTimeCommandAnnotation("ZoomTool"))
- -image1 "boxZoom.xpm"
- -command ("ZoomTool")
- -doubleClickCommand ("ToolSettingsWindow");
-
- shelfButton
- -label "Undo"
- -annotation (getRunTimeCommandAnnotation("Undo"))
- -image1 "undo.xpm"
- -command ("Undo");
-
- shelfButton
- -label "Redo"
- -annotation (getRunTimeCommandAnnotation("Redo"))
- -image1 "redo.xpm"
- -command ("Redo");
-
- shelfButton
- -label "Delete"
- -annotation (getRunTimeCommandAnnotation("Delete"))
- -image1 "deleteActive.xpm"
- -command ("Delete");
-
- shelfButton
- -label "Group"
- -annotation (getRunTimeCommandAnnotation("Group"))
- -image1 "group.xpm"
- -command ("Group")
- -doubleClickCommand ("GroupOptions");
-
- shelfButton
- -label "Ungroup"
- -annotation (getRunTimeCommandAnnotation("Ungroup"))
- -image1 "ungroup.xpm"
- -command ("Ungroup")
- -doubleClickCommand ("UngroupOptions");
-
- shelfButton
- -label "Parent"
- -annotation (getRunTimeCommandAnnotation("Parent"))
- -image1 "parent.xpm"
- -command ("Parent")
- -doubleClickCommand ("ParentOptions");
-
- shelfButton
- -label "Unparent"
- -annotation (getRunTimeCommandAnnotation("Unparent"))
- -image1 "unparent.xpm"
- -command ("Unparent")
- -doubleClickCommand ("UnparentOptions");
-
- shelfButton
- -label "Hypergraph"
- -annotation (getRunTimeCommandAnnotation("HypergraphWindow"))
- -image1 "hypergraph.xpm"
- -command ("HypergraphWindow");
-
- shelfButton
- -label "Select by Hierarchy"
- -image1 "selectByHierarchy.xpm"
- -command ("changeSelectMode -hierarchical");
-
- shelfButton
- -label "Select by Object"
- -image1 "selectByObject.xpm"
- -command ("changeSelectMode -object");
-
- shelfButton
- -label "Select by Component"
- -image1 "selectByComponent.xpm"
- -command ("changeSelectMode -component");
-
- shelfButton
- -label "Paint Selection Tool"
- -annotation (getRunTimeCommandAnnotation("ArtPaintSelectTool"))
- -image1 "artSelect.xpm"
- -command ("ArtPaintSelectTool")
- -doubleClickCommand ("ArtPaintSelectToolOptions");
- }
-